package com.atcd.springcloud.dao;

import com.atcd.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper

//@Repository 插入的时候会有些问题
public interface PaymentDao {
    //增删改查
    public  int create(Payment payment);

    public Payment getPaymentById(@Param("id") Long id);
}
